home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 8 / Revista CD Expert nº 08 CD1.iso / Utilitarios / Programacao / FirstBasic Compiler / REGNAMES.INC < prev    next >
Text File  |  1996-07-31  |  1KB  |  26 lines

  1. '┌───────────────────────────────────────────────────────────────────────────┐
  2. '│                                   REGNAMES.INC                            │
  3. '│                                                                           │
  4. '│ This file is to be used as a $INCLUDE file whenever you use the CALL      │
  5. '│ INTERRUPT statement in your FirstBasic program. The file contains         │
  6. '│ named constants that represent the registers the CALL INTERRUPT statement │
  7. '│ can manipulate.                                                           │
  8. '│                                                                           │
  9. '│ In order to use this file include it in your programs using the $INCLUDE  │
  10. '│ metastatement:                                                            │
  11. '│                                                                           │
  12. '│   $INCLUDE "REGNAMES.INC"                                                 │
  13. '│                                                                           │
  14. '└───────────────────────────────────────────────────────────────────────────┘
  15.  
  16. %FLAGS = 0
  17. %AX    = 1
  18. %BX    = 2
  19. %CX    = 3
  20. %DX    = 4
  21. %SI    = 5
  22. %DI    = 6
  23. %BP    = 7
  24. %DS    = 8
  25. %ES    = 9
  26.